const http = require("http");

http.createServer(function(req, res) {

	res.writeHead(200, {
		"Content-Type":"text/html; charset=utf-8"
	});

	res.write("<h3>Hello</h3>");
	res.write("<div style='width:200px;  height:200px;  background:green;'></div>");
	res.end();

}).listen(8080, function(err) {

	console.log("http://localhost:8080");
});